﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TX.Core;
using TX.Passport.Models;   

namespace TX.Passport.Repositories
{
    /// <summary>
    /// 部门存储库
    /// </summary>
    public interface IDepartmentRepository{        
        IQueryable<Department> GetDepartments(QueryOption<Department> option = null);
        Department AddDepartment(Department model);
        void RemoveDepartment(Department model);
        void UpdateDepartment(Department model);
    }
}